package net.minecraft.src;
import java.util.Random;

public class mod_charcarbon extends BaseMod
{
    public static final Block Charcarbon = new Blockcarbon(240,0).setHardness(2F).setResistance(1.0F).setBlockName("rq");
    
    public mod_charcarbon()
	{
       ModLoader.RegisterBlock(Charcarbon);
       Charcarbon.blockIndexInTexture = ModLoader.addOverride("/terrain.png","/charcarbon.png");
       ModLoader.AddName(Charcarbon, "Charcarbon");   
	}
    
    public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ)
    {
    	for (int i=0; i < 35; i++)
    	{
    		int randPosX = chunkX + rand.nextInt(8);
    		int randPosY = rand.nextInt(50);
    		int randPosZ = chunkZ + rand.nextInt(9);
    		(new WorldGenMinable(Charcarbon.blockID, 5)).generate(world, rand, randPosX, randPosY, randPosZ);
    	}
    }

	public String Version()
	{
		return "3.14159265";
	}
}    